package com.yby.algorithm.lru;

/**
 * @description: Cache接口
 * @author: blblccc
 * @date: 2023/3/18 0:30
 */
public interface Cache {

    boolean put(String key, Object value);

    Object get(String key);

    int size();

    boolean isEmpty();

    void clear();

}
